//package com.demo.gateway.impl;
//
//import com.alibaba.dubbo.config.annotation.Service;
//import com.mike.common.api.RemoteUserService;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.stereotype.Component;
//
///**
// * dubbo 服务service
// *
// * @author DUCHONG
// * @since 2018-07-03 18:29
// **/
//@Component
//@Service(version = "v1",timeout = 10000,interfaceClass = RemoteUserService.class)
//public class RemoteUserServiceImpl implements RemoteUserService {
//
//    private static final Logger logger = LoggerFactory.getLogger(RemoteUserServiceImpl.class);
//
//    @Value("${spring.dubbo.protocol.port}")
//    private String port ;
//
//    @Override
//    public String sayHello(String name) {
//        return "Hello "+name+"  from "+this.port;
//    }
//}